bookAppointment
GraphQL Schema
extend type mutation {
bookAppointment(input: BookAppointmentInput!): BookAppointmentPayload!
}
Arguments
| Name | Type | Description |
|---|---|---|
| input | [BookAppointmentInput!](/04-reference/05-Input Objects/BookAppointmentInput.mdx) |
Response Shape
This mutation returns BookAppointmentPayload!
| Name | Type | Description |
|---|---|---|
| success | Boolean! | Whether the mutation was successful |
| error | ErrorType | Error information |
| appointment | Appointment |